import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'bootstrap/dist/css/bootstrap.css'
// 按需导入引入饿了么组件
import { Menu, MenuItem, Submenu, DropdownMenu, DropdownItem, Dropdown, Button } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 组件安装到vue
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Submenu)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Dropdown)
Vue.use(Button)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
